﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UcLogin.ascx.cs" Inherits="QLVMBAY.UControl.UcLogin" %>
<div class ="navigate-base" style="min-height:160px; margin-bottom:1px">
    
   
<div class="title_menu"> 
    <asp:Label ID="lblTitle" runat="server" Text="Đăng nhập"></asp:Label></div>
<div style="padding-left:50px;">
<asp:Panel ID="pnLogin" runat="server" Visible="False">
<table><tr><td>
    <asp:Label ID="Label1" runat="server" Text="Tên đăng nhập"></asp:Label></td><td>
        <asp:TextBox ID="txtTenDangNhap" runat="server"></asp:TextBox>
    </td><td>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="txtTenDangNhap" ErrorMessage="(*)" ForeColor="Red" 
            ToolTip="Vui lòng nhập vào tên đăng nhập"></asp:RequiredFieldValidator>
    </td></tr>
    <tr>
        <td>
            <asp:Label ID="Label2" runat="server" Text="Mật khẩu"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txtPass" runat="server" TextMode="Password"></asp:TextBox>
        </td>
        <td>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="txtPass" ErrorMessage="(*)" ForeColor="Red" 
                ToolTip="Vui lòng nhập vào mật khẩu"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            <asp:Button ID="btnLogin" runat="server" onclick="btnLogin_Click" 
                Text="Đăng nhập" />
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    </table>
&nbsp;<asp:HyperLink ID="lnlRegister" runat="server" NavigateUrl="~/Pages/pRegister.aspx">Đăng ký</asp:HyperLink>
</asp:Panel>
</div> 
    <asp:Panel ID="pnTTin" runat="server">
    <div style="padding-left:50px;">
    <table><tr><td style="text-align: left">
        <asp:LinkButton ID="lnkThayDoi" runat="server" 
            PostBackUrl="~/Pages/pRegister.aspx">Thay đổi thông tin: </asp:LinkButton> </td></tr>
        <tr><td style="text-align: left">
            <asp:LinkButton ID="lnkAccount" runat="server" 
                PostBackUrl="~/Pages/pGioHang.aspx">Lịch sử mua vé</asp:LinkButton> </td></tr>
        <tr>
            <td style="text-align: right">
                <asp:Button ID="btnDangXuat" runat="server" Text="Đăng xuất" 
                    onclick="btnDangXuat_Click" />
            </td>
        </tr>
     </table>
     </div>
    </asp:Panel>
</div>
